package com.block.common.annotate;

import org.springframework.core.annotation.Order;

import java.lang.annotation.*;

/**
 * hash 缓存指定key删除.
 * 
 * @date 2021/1/27 2:30 下午
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Order(2)
@Documented
public @interface CacheHashEvict {
    /**
     * set key
     * @return
     */
    String key();

    /**
     * set name
     * @return
     */
    String keyName();
}
